package com.haste.dao;

import com.haste.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName:DeptDao
 * @Description:
 * @Author:Haste
 * @Date:2021/2/1 17:23
 */
@Mapper
public interface DeptMapper {
    boolean addDept(Dept dept);
    Dept queryById(Long id);
    List<Dept> queryAll();
}
